package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.system.entity.SysUserDevice;

import java.util.List;

public interface ISysUserDeviceService  extends IService<SysUserDevice> {



    List<SysUserDevice> querySysUserDevice(String workNo);

    SysUserDevice querySysUserDevice(String workNo, String mobileSingle);

    void deleteSysUserDevice(String workNo, String phone);

    /**
     * 查询app_push字段为1的推送id
     * @return
     */
    public List<SysUserDevice> getSysUserDeviceByAppPush();

    int getDeviceInCount();
    int getDeviceCount();
    int getDeviceAndroidCount();
    int getDeviceIosCount();
}
